// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** 生成验证码 GET /captcha/generate */
export async function generateCaptcha(options?: { [key: string]: any }) {
  return request<API.BaseResponseCaptchaResult>('/captcha/generate', {
    method: 'GET',
    ...(options || {}),
  })
}
